package com.csii.adhoc.dataready.service;

import com.csii.adhoc.dataready.TDataFldPo;
import com.csii.adhoc.dataunits.addcolumn.DataNewFld;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @description: 数据集接口类
 * @author: zyliu
 * @create: 2021-01-13 09:32
 */
public interface TDataFldService {

    void insertOneTDataFld(TDataFldPo tDataFldPo);

    void insertListTDataFld(List<TDataFldPo> pos);

    int updateTDataFldByPrimaryKey(TDataFldPo tDataFldPo);

    int deleteTDataFldByPrimaryKey(String modelId, String fldEnname);

    int deleteByModelId(String modelId);

    List<TDataFldPo> selectListTDataFld(String modelId);

    TDataFldPo selectOneTDataFld(String modeId,String fldEnname);

    void tDataFldMaintain(TDataFldPo tDataFldPo, String optMode);

    Map selCustDataDbTable(String sql);

    List<DataNewFld> selectListTDataNewFld(String modelId);
}
